package top.infopub.dto.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class FinReimSubDto {
    /** SGUID */
    private String id;

    /** 融资还款主表ID */
    private String finRepayId;

    /** 放款主表ID */
    private String loanFinId;

    /** 放款金额 */
    private String loadFinAmt;

    /** 放款日期 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date loadFinDate;

    /** 已还金额 */
    private BigDecimal paidAmt;

    /** 剩余金额 */
    private BigDecimal chargeAmt;

    /** 本次还款金额 */
    private BigDecimal thisRepayAmt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFinRepayId() {
        return finRepayId;
    }

    public void setFinRepayId(String finRepayId) {
        this.finRepayId = finRepayId;
    }

    public String getLoadFinAmt() {
        return loadFinAmt;
    }

    public void setLoadFinAmt(String loadFinAmt) {
        this.loadFinAmt = loadFinAmt;
    }

    public Date getLoadFinDate() {
        return loadFinDate;
    }

    public void setLoadFinDate(Date loadFinDate) {
        this.loadFinDate = loadFinDate;
    }

    public String getLoanFinId() {
        return loanFinId;
    }

    public void setLoanFinId(String loanFinId) {
        this.loanFinId = loanFinId;
    }

    public BigDecimal getPaidAmt() {
        return paidAmt;
    }

    public void setPaidAmt(BigDecimal paidAmt) {
        this.paidAmt = paidAmt;
    }

    public BigDecimal getChargeAmt() {
        return chargeAmt;
    }

    public void setChargeAmt(BigDecimal chargeAmt) {
        this.chargeAmt = chargeAmt;
    }

    public BigDecimal getThisRepayAmt() {
        return thisRepayAmt;
    }

    public void setThisRepayAmt(BigDecimal thisRepayAmt) {
        this.thisRepayAmt = thisRepayAmt;
    }
}
